<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1,minimum-scale=1,user-scalable=no" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>国内折扣</title>
    <!-- //初始化模板 -->
    <link rel="stylesheet" href="../css/base.css">
    <!-- //自身样式 -->
    <link rel="stylesheet" href="../css/国内折扣/inlanddiscount.css">

</head>

<body>
    <!-- //国内折扣 头部 -->
    <div class="header">
        <a href="javascript:;"> &lt; </a>
        <h3>国 内 折 扣</h3>
        <a href="javascript:;"> </a>
    </div>

    <div class="content" id="data">
        <!-- 这里面添加内容 -->
    </div>

    <div class="foot">
        <div class="foot_t">
            <a href="javascript:;">登录</a>
            <a href="javascript:;">注册</a>
            <a href="javascript:;">
                <span></span> 返回顶部</a>
        </div>
        <div class="foot_b">
            <p>
                <a href="javascript:;">手机APP下载</a>
                <span>慢慢买手机版</span>
                <span>-掌上比价平台</span>
            </p>
            <p>m.manmanbuy.com</p>
        </div>
    </div>

</body>

</html>
<!-- //模板引擎 -->
<script type="text/template" id="tp">
    {{  each $data value }}
    <div class="shop">
        <a href="javascript:;">
            {{#value.productImg}}
             <!-- //为什么使用# 字符串的标签转化成可识别的语义化标签   -->
        </a>
        <ul>
            <li> {{value.productName}}</li>
            <li>{{value.productPrice}}</li>
            <li>{{value.productTime}}</li>
        </ul>
    </div>
    {{/each}}
</script>

<script src="../js/jquery-1.12.2.js"></script>
<script src="../js/ajax/art-template-web.js"></script>
<script src="../js/getinlanddiscount.js"></script>

<script src="../js/ajax/getinlanddiscount.js"></script>